import {
	req,
} from '../../utils/req.js'
import {
	request
} from '../../utils/request.js'
export default {
	// 首页数据
	index(param) {
		return req.get('/massage/app/Index/index', param)
	},
	// 店铺
	getShopList(param) {
		return req.get('/massage/app/Index/shopList', param)
	},
	// 爱我，我爱
	getUserList(param) {
		return req.get('/massage/app/Index/userList', param)
	},
	// 老师
	getTeacherList(param) {
		return req.get('/massage/app/Index/getTeacherList', param)
	},
	// 服务
	getServiceList(param) {
		return req.get('/massage/app/Index/getCoachList', param)
	},
	// 免单
	getFreeList(param) {
		return req.get('/massage/app/Index/freeList', param)
	},
	//热销专区
	gethotdata(param){
		return req.get('/massage/app/Index/gethotdata', param)
	},
	//我的页面推荐商品
	getrecommend(param){
		return req.get('/massage/app/Index/getrecommend', param)
	},
	//免单详情
	freeDetails(param) {
		return req.get("/massage/app/Index/freeDetails", param)
	},
	//获取免单价格 /massage/app/IndexOrder/freeOrderInfo&goods_id=15&num=2&address_id=258
	freeOrderInfo(param) {
		return req.get("/massage/app/IndexOrder/freeOrderInfo", param)
	},
	
	// 服务详情
	serviceInfo(param) {
		return req.get('/massage/app/Index/serviceInfo', param)
	},
	// 服务技师列表(ser_id，服务id,lat,lng)
	serviceCoachList(param) {
		return req.get('/massage/app/Index/serviceCoachList', param)
	},
	// 技师服务列表(coach_id)
	coachServiceList(param) {
		return req.get('/massage/app/Index/coachServiceList', param)
	},
	// 技师服务列表(coach_id)
	commentList(param) {
		return req.get('/massage/app/Index/commentList', param)
	},
	// 技师信息
	coachInfo(param) {
		return req.get('/massage/app/Index/getCoachInfo', param)
	},
	//优惠券列表
	couponList(param) {
		return req.get('/massage/app/Index/couponList', param)
	},
	//领取优惠券
	userGetCoupon(param) {
		return req.post('/massage/app/Index/userGetCoupon', param)
	},
	//搜索
	search(param) {
		return req.get('/massage/app/Index/search', param)
	},
	//搜索商品
	searchgoods(param) {
		return req.get('/massage/app/Index/searchgoods', param)
	},
	// 店铺详情
	shopdetails(param) {
		return req.get('/massage/app/index/shopdetails', param)
	},
	
	// 分类
	classList(param) {
		return req.get('/massage/app/Index/classList', param)
	},
	// 通过分类筛选店铺
	classShopList(param) {
		return req.get('/massage/app/Index/classShopList', param)
	},
	//所有商品列表
	allgoodsList(param)
	{
		return req.get('/massage/app/Index/allgoodsList', param)
	},
	// 在线
	getNewOnlineList(param) {
		return req.get('/massage/app/IndexUser/getNewOnlineList', param)
	},
	
	// 新人
	getNewRegisteredList(param) {
		return req.get('/massage/app/IndexUser/getNewRegisteredList', param)
	},
	
	// 全部
	getMessageGetList(param) {
		return req.get('/massage/app/IndexUser/MessageGetList', param)
	},
	
	// 附近
	getNearbypeople(param) {
		return req.get('/massage/app/IndexUser/getNearbypeople', param)
	},
	
	// 单身
	getconditionuser(param) {
		return req.get('/massage/app/IndexUser/getconditionuser', param)
	},
	
	
	// 推荐
	getAssocrecom(param) {
		return req.get('/massage/app/IndexUser/getassocrecom', param)
	},
	// 我收藏的用户
	getMycollectuser(param) {
		return req.get('/massage/app/Index/mylikeuser', param)
	},
	// 我收藏的老师
	mylikeTeacher(param) {
		return req.get('/massage/app/Index/mylikeTeacher', param)
	},
	// 我收藏的服务
	mylikeCoach(param) {
		return req.get('/massage/app/Index/mylikeCoach', param)
	},
	//我收藏的乐购
	myLikegoods(param) {
		return req.get('/massage/app/Index/myLikegoods', param)
	},
	
	//我收藏的门店
	myLikeshop(param) {
		return req.get('/massage/app/Index/myLikeshop', param)
	},
}
